package characters.main;

import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.ImageIcon;

import mapelements.Renderer;

public class RendererFly extends Renderer{

	private static final long serialVersionUID = 3791438854223038772L;

	private static BufferedImage image;
	
	static{
		Image AlphaImage=new ImageIcon("fs_test/characters/main/Fly.png").getImage();
		image=new BufferedImage(AlphaImage.getWidth(null),AlphaImage.getHeight(null),BufferedImage.TYPE_4BYTE_ABGR);
		image.getGraphics().drawImage(AlphaImage, 0, 0, null);
	}
	
	@Override
	public BufferedImage drawRenderer(Graphics g) {
		return image;
	}

}
